package com.admin.business.background.venusOaOutsourcingCostCycle;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.tiangong.framework.bo.CDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @description: 财务外包费用周期表
 * @create: 2023-11-03 13:45:33
 **/
@DS("user")
@Mapper
public interface VenusOaOutsourcingCostCycleDao{
    /**添加财务外包费用周期表数据*/
    void addVenusOaOutsourcingCostCycle(CDO cdo);

    /**添加财务外包费用周期表数据*/
    void addOrUpdateVenusOaOutsourcingCostCycle(CDO cdo);

    /**根据Id更新财务外包费用周期表数据*/
    int updateVenusOaOutsourcingCostCycleById(CDO cdo);

    /**根据Id删除财务外包费用周期表数据*/
    int deleteVenusOaOutsourcingCostCycleById(Long id);

    /**根据条件删除财务外包费用周期表数据*/
    int deleteVenusOaOutsourcingCostCycle(CDO cdo);

    /**根据id获取财务外包费用周期表数据*/
    CDO getVenusOaOutsourcingCostCycleById(Long id);

    /**根据非空条件获取财务外包费用周期表数据列表*/
    List<CDO> getVenusOaOutsourcingCostCycleListPage(CDO cdo);


    /**根据混合条件获取财务外包费用周期表数据列表*/
    List<CDO> getVenusOaOutsourcingCostCycleListPageByCondition(CDO cdo);

    /**获取财务外包费用周期表数据条数*/
    int getVenusOaOutsourcingCostCycleCount(CDO cdo);


//    外包单位数据查询
     List<CDO> getInComeList(CDO cdo);


}
